package com.sp.scmdb.service;

import java.util.List;

import com.sp.scmdb.bean.AreaBean;
import com.sp.scmdb.bean.UserBean;
import com.sp.scmdb.entity.Area;

public interface AreaService {

	AreaBean queryAll(AreaBean areaBean, AreaBean oldAreaBean);

	String newArea(AreaBean t, UserBean user);

	String editArea(AreaBean areaBean, UserBean user);

	String editAreaPosition(AreaBean areaBean, UserBean user);

	String delArea(String[] arr, UserBean user);

	AreaBean queryAreaByID(String pid);

	List<Area> queryAllArea();
}
